﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="KetNoiCSV.aspx.cs" Inherits="AlumniProject.KetNoiCSV" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentNoiDung" runat="server">
    <style type="text/css">
        .textbox {
            margin-left: 10px;
            
        }
        .dropdown {
            margin-left: 10px;
            height: 22px;
        }
        .label {
            margin-left: 10px;
        }
        table {
            margin: auto;
            width: 500px;
        }
    </style>

      <div>
        <div >
            <br />
            <img alt="" src="Images/MenuKetNoi.png" style="width: 250px; height: 30px" /><br />
            <br />
            <br />
            <div style="width: 600px; margin: auto;">
                <asp:Label ID="Label1" runat="server" Text="Họ tên" CssClass="label" ></asp:Label>
                        <asp:TextBox ID="txtHoTen" runat="server" Width="250px" CssClass="textbox"></asp:TextBox>
                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label5" runat="server" Text="Chuyên ngành"></asp:Label>
                        <asp:DropDownList ID="dlChuyenNganh" runat="server" CssClass="dropdown">
                            <asp:ListItem>Chọn chuyên ngành</asp:ListItem>
                        </asp:DropDownList>
                        <br />
                        <br />
                        <asp:Label ID="Label2" runat="server" Text="Lớp" CssClass="label"></asp:Label>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:DropDownList ID="dlLop" runat="server" CssClass="dropdown">
                            <asp:ListItem>Chọn lớp</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label4" runat="server" Text="Khóa" CssClass="label"></asp:Label>
                        <asp:DropDownList ID="dlKhoa" runat="server" CssClass="dropdown">
                            <asp:ListItem>Chọn khóa</asp:ListItem>
                        </asp:DropDownList>
            
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
            
                        <asp:Label ID="Label6" runat="server" Text="Nơi sống" CssClass="label"></asp:Label>
                        <asp:DropDownList ID="dlNoiSong" runat="server" CssClass="dropdown">
                            <asp:ListItem>Chọn nơi sống</asp:ListItem>
                        </asp:DropDownList><br/>
                        <div style="margin-top: 20px">
                            <asp:Label ID="Label3" runat="server" Text="MSSV" CssClass="label"></asp:Label>
            
                            &nbsp;<asp:TextBox ID="txtMSSV" runat="server" Width="245px" CssClass="textbox"></asp:TextBox> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnTimKiemCSV" runat="server" BackColor="#3333FF" BorderStyle="None" ForeColor="White" Height="28px" OnClick="btnTimKiemCSV_Click" Text="Tìm kiếm" Width="80px" />
                             </div>
            </div>
            
            
            <br />
                
                    <div style="text-align:center">
                    <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Size="Large" Text="DANH SÁCH CỰU SINH VIÊN"></asp:Label>
                    </div>
                   
            <br />
            <div style="margin-left: -1px">
            <asp:GridView ID="gvDS_CSV" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" Height="123px" Width="750px" OnPageIndexChanging="gvDS_CSV_PageIndexChanging" ForeColor="#333333" GridLines="None">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:TemplateField HeaderText="Họ tên" SortExpression="HoTen">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("HoTen") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("HoTen") %>' ></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Điện thoại" SortExpression="SDT">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("SDT") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("SDT") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="LV công tác" SortExpression="TenLV_CT">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("TenLV_CT") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label3" runat="server" Text='<%# Bind("TenLV_CT") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Lớp" SortExpression="Lop">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("TenLop") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label5" runat="server" Text='<%# Bind("TenLop") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Khóa" SortExpression="TenKhoa">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("TenKhoa") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label6" runat="server" Text='<%# Bind("TenKhoa") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:ImageField DataImageUrlField="AnhDaiDien" HeaderText="Ảnh đại diện">
                        <ControlStyle Height="50px" Width="50px" />
                    </asp:ImageField>
                    <asp:HyperLinkField DataNavigateUrlFields="MaCSV" DataNavigateUrlFormatString="~/CuuSinhVien.aspx?Id={0}" Text="Chi tiết" />
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
            </asp:GridView>
    
        </div>
    </div>
    </div>
</asp:Content>
